package cn.com.jtang.wedding.model;
/**
 * 购买历史类
 */
import java.io.Serializable;
import java.util.Date;

public class History implements Serializable{
	
	private Long id;
	private Double count;			//必填		购买数量
	private Double price;			//必填		购买价格
	private Date time;				//必填		购买时间
	private Long parentId;			//必填		上级管理员的ID
	private Long userId;			//必填		购买者ID
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public Double getCount() {
		return count;
	}
	public void setCount(Double count) {
		this.count = count;
	}
	
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}

}
